<!DOCTYPE html>
<html>
	<head>
	<script type="text/javascript" src="../resource/js/jquery.js"></script>
	<script type="text/javascript" src="../resource/js/html5.js"></script>
	<script type="text/javascript">
		startGame = function(e){
			var game = new GAME();
			game.start(e);
		};
		$(document).ready(function(){
			// var list = new Array();
			// var map = {};
			// for(var i=0; i<10000; i++) {
				// list.push(i);
				// map[i] = true;
			// }
			// var begin = new Date().getTime();
			// begin = new Date().getTime();
			// for(var i=0; i<list.length; i++) {
				// list.splice(i, 1);
			// }
			// alert(new Date().getTime()-begin);
			// begin = new Date().getTime();
			// for(var key in map) {
				// delete map[key];
			// }
			// alert(new Date().getTime()-begin);
			
		});
	</script>
	</head>
	<body>
		<canvas id="canvas" style="background:#000; position: absolute; left:50px; top: 40px; border: 1px solid #999; width: 600px; height: 400px;">
		</canvas>
		<a style="position: absolute; left: 200px; top: 400px; padding: 4px 10px; color: #FFFFFF; border: 1px solid #FFFFFF;" onclick="startGame(event);">开始</a>
		<div id="console" style="position: absolute; right: 20px; top: 5px;">
			
		</div>
	</body>
</html>
